package cc.yugu.yhdw.common.protocol.msg03;

import cc.yugu.yhdw.common.protocol.MsgCode;
import io.netty.buffer.ByteBuf;

public class Msg031000007 extends Msg031 {

    public String mobile;

    @Override
    public int getMsgCode() {
        return MsgCode.MSG_031000007.getCode();
    }

    @Override
    public void readData(ByteBuf buffer) {
        mobile = readString(buffer);
    }

    @Override
    public void writeData(ByteBuf buffer) {
        writeString(buffer, mobile);
    }
}
